<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%--
  ~ Copyright (c) 2016. 恒昌互联网运营中心.
  --%>

<nav class="navbar navbar-inverse navbar-fixed-top">
	<div class="container-fluid">
		<div class="navbarheader">
			<a class="navbar-brand" href="#">恒昌-鹰眼监控平台</a>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav navbar-right">
				<li><a href="#cancelModal" data-toggle="modal">注销</a></li>
				<li><a href="#aboutModal" data-toggle="modal">关于</a></li>
			</ul>
		</div>
		<!--/.nav-collapse -->
	</div>
</nav>
<!-- 注销模态框（Modal） -->
	<div class="modal fade" id="cancelModal" role="dialog"
		aria-labelledby="cancelModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="cancelModalLabel">注销</h4>
				</div>
				<form id="cancelForm"
					action="<%=request.getContextPath()%>/login/cancel" method="post">
					<div class="modal-body">确定注销当前用户?</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
						<button type="submit" id="btncancel" class="btn btn-success">注销</button>
					</div>
				</form>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>
<!-- 关于模态框（Modal） -->
	<div class="modal fade" id="aboutModal" role="dialog"
		aria-labelledby="aboutModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="aboutModalLabel">关于</h4>
				</div>

				<div class="modal-body">&nbsp;&nbsp; &nbsp;恒昌鹰眼监控平台 Copyright (c) 2016 </div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>